package com.igeek.boot.service;

import com.github.pagehelper.PageInfo;
import com.igeek.boot.entity.User;

import java.util.List;

public interface IUserService {
    public int addUser(User user);
    public int updateUser(Integer id,String pic);
    public int deleteUser(Integer id);
    public List<User> getUser(String name);
    public PageInfo<User> getUserByPage(String name);
}
